package J1_4;

import java.util.Scanner;

public class J104task1 {
    public static void main(String[] args) {
        double pi;
        double r,v;
        pi=3.1415926;
        Scanner scanner =new Scanner(System.in);
        System.out.print("输入球的半径:");
        r=scanner.nextDouble();
        v=4.0/3*pi*r*r*r*1.0;
        System.out.println("球的体积为:"+String.format("%.2f",v));
    }
}
